package com.jd.finance.core.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 用户离职 交接申请表
 * </p>
 *
 * @author LiQingBo
 * @since 2022-05-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Connect对象", description = "用户离职 交接申请表")
public class Connect implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "交接申请id")
    @TableId(value = "connect_id", type = IdType.AUTO)
    private Integer connectId;

    @ApiModelProperty(value = "在职员工id")
    private Integer onId;

    @ApiModelProperty(value = "离职员工id")
    private Integer leaveId;

    @ApiModelProperty(value = "离职人负责贷款申请id")
    private String loanApplyId;

    @ApiModelProperty(value = "交接申请状态 0:未交接  1:已交接")
    private Boolean connectApplyStatus;

    @ApiModelProperty(value = "业务交接是否通过 0：未审批 1:未通过  2:通过")
    private Integer isPass;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否删除")
    @TableField("is_deleted")
    @TableLogic
    private Boolean deleted;


}
